package com.microstream.module.main.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.HasHorizontalAlignment;
import com.google.gwt.user.client.ui.HasVerticalAlignment;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.RichTextArea;
import com.google.gwt.user.client.ui.HorizontalSplitPanel;
import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.DockPanel;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class Main implements EntryPoint {
	public void onModuleLoad() {
		RootPanel rootPanel = RootPanel.get();
		rootPanel.setSize("100%", "100%");
		
		DockPanel dockPanel = new DockPanel();
		rootPanel.add(dockPanel, 23, 34);
		dockPanel.setSize("100%", "100%");
		
		HorizontalSplitPanel horizontalSplitPanel = new HorizontalSplitPanel();
		dockPanel.add(horizontalSplitPanel, DockPanel.WEST);
		horizontalSplitPanel.setSize("754px", "542px");
		
		AbsolutePanel absolutePanel = new AbsolutePanel();
		horizontalSplitPanel.setLeftWidget(absolutePanel);
		absolutePanel.setSize("179px", "100%");
		
		Button button_2 = new Button("New button");
		button_2.setText("Test");
		absolutePanel.add(button_2, 30, 28);
		button_2.setSize("103px", "26px");
				
		showBlog();  
	}
	
	private void showBlog() {
		
	}
}
